<!doctype html>
<html lang="zh-CN">
<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <meta name="referrer" content="no-referrer-when-downgrade">
    

    <title>Textfiled使用 | 早起的年轻人</title>
    <meta property="og:title" content="Textfiled使用 - 早起的年轻人">
    <meta property="og:type" content="article">
        
    <meta property="article:published_time" content='2021-08-08T19:25:26&#43;08:00'>
        
        
    <meta property="article:modified_time" content='2021-08-08T19:25:26&#43;08:00'>
        
    <meta name="Keywords" content="Flutter，golang,go语言,go语言笔记,飞雪无情,java,android,博客,项目管理,python,软件架构,公众号,小程序">
    <meta name="description" content="Textfiled使用">
        
    <meta name="author" content="luckly">
    <meta property="og:url" content="https://luckly.work/post/flutter/textfiled%E4%BD%BF%E7%94%A8/">
    <link rel="shortcut icon" href='/favicon.ico'  type="image/x-icon">

    <link rel="stylesheet" href='/css/normalize.css'>
    <link rel="stylesheet" href='/css/style.css'>
    <script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

    
    
    
        <link href="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" rel="stylesheet">
    
    
    
    
        <link rel="stylesheet" href='/css/douban.css'>
    
        <link rel="stylesheet" href='/css/other.css'>
    
</head>

<link rel="stylesheet"
      href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/highlight.min.js"></script>
<body>
    <header id="header" class="clearfix">
    <div class="container">
        <div class="col-group">
            <div class="site-name ">
                
                    <a id="logo" href="https://luckly.work/">
                        早起的年轻人
                    </a>
                
                <p class="description">专注于Flutter、Android、Java、Go语言(golang)、移动互联网、项目管理、软件架构</p>
            </div>
            <div>
                <nav id="nav-menu" class="clearfix">
                    <a class="current" href="https://luckly.work/">首页</a>
                    
                    <a  href="https://luckly.work/categories/" title="分类">分类</a>
                    
                    <a  href="https://luckly.work/tags/" title="标签">标签</a>
                    
                    <a  href="https://luckly.work/about/" title="关于我">关于我</a>
                    
                    <a  href="https://github.com/ITmxs/" title="github">github</a>
                    
                </nav>
            </div>
        </div>
    </div>
</header>

    <div id="body">
        <div class="container">
            <div class="col-group">

                <div class="col-8" id="main">
                    
<div class="res-cons">
    <style type="text/css">
    .post-toc {
        position: fixed;
        width: 200px;
        margin-left: -210px;
        padding: 5px 10px;
        font-family: Athelas, STHeiti, Microsoft Yahei, serif;
        font-size: 12px;
        border: 1px solid rgba(0, 0, 0, .07);
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.98);
        background-clip: padding-box;
        -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
        box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
        word-wrap: break-word;
        white-space: nowrap;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        z-index: 999;
        cursor: pointer;
        max-height: 70%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .post-toc .post-toc-title {
        width: 100%;
        margin: 0 auto;
        font-size: 20px;
        font-weight: 400;
        text-transform: uppercase;
        text-align: center;
    }

    .post-toc .post-toc-content {
        font-size: 15px;
    }

    .post-toc .post-toc-content>nav>ul {
        margin: 10px 0;
    }

    .post-toc .post-toc-content ul {
        padding-left: 20px;
        list-style: square;
        margin: 0.5em;
        line-height: 1.8em;
    }

    .post-toc .post-toc-content ul ul {
        padding-left: 15px;
        display: none;
    }

    @media print,
    screen and (max-width:1057px) {
        .post-toc {
            display: none;
        }
    }
</style>
<div class="post-toc" style="position: absolute; top: 188px;">
    <h2 class="post-toc-title">文章目录</h2>
    <div class="post-toc-content">
        <nav id="TableOfContents">
  <ul>
    <li>
      <ul>
        <li><a href="#textfield">TextField</a></li>
        <li><a href="#textfield事件监听">TextField事件监听</a></li>
      </ul>
    </li>
  </ul>
</nav>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        var postToc = $(".post-toc");
        if (postToc.length) {
            var leftPos = $("#main").offset().left;
            if(leftPos<220){
                postToc.css({"width":leftPos-10,"margin-left":(0-leftPos)})
            }

            var t = postToc.offset().top - 20,
                a = {
                    start: {
                        position: "absolute",
                        top: t
                    },
                    process: {
                        position: "fixed",
                        top: 20
                    },
                };
            $(window).scroll(function () {
                var e = $(window).scrollTop();
                e < t ? postToc.css(a.start) : postToc.css(a.process)
            })
        }
    })
</script>
    <article class="post">
        <header>
            <h1 class="post-title">Textfiled使用</h1>
        </header>
        <date class="post-meta meta-date">
            2021年8月8日
        </date>
        
        <div class="post-meta">
            <span>|</span>
            
            <span class="meta-category"><a href='/categories/flutter'>flutter</a></span>
            
        </div>
        
        
        <div class="post-meta">
            <span id="busuanzi_container_page_pv">|<span id="busuanzi_value_page_pv"></span><span>
                    阅读</span></span>
        </div>
        
        
        <div class="post-content">
            <h1 id="flutter手把手教程ui布局和widgettextfield使用搭配inputdecoration和focusednode使用">Flutter手把手教程UI布局和Widget——TextField使用、搭配InputDecoration和FocusedNode使用</h1>
<h3 id="textfield">TextField</h3>
<p>TextField是一个常用的控件，同时它也是一个组合控件，由多个控件组合而成。
这是来自Material官方网站的的图片
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2021_01_07_material_textfiled.png">
        <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2021_01_07_material_textfiled.png">
            <img class="mx-auto" alt="2021_01_07_material_textfield" src="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2021_01_07_material_textfiled.png" />
        </a>
    </a>
TextField是由7个控件组成，其中有些控件默认不显示，我们可以对各个控件单独设置想要的样式来满足不同的UI展示需求。
下面我们就来列举几种常见的样式：</p>
<p><strong>1. 简单的TextField</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;最基本的的TextField&quot;,
    ),
)
</code></pre><p><code>TextField</code>接收一个<code>InputDecoration</code>作为参数，<code>InputDecoration</code>初始化的参数<code>labelText</code>可以帮助我们定义placeholder。<code>labelText</code>模式会灰色的，选中之后会变为蓝色，并且<code>TextField</code>底部会有一条蓝色线条。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_custom.gif">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_custom.gif">
            <img class="mx-auto" alt="2020_01_08_textfield_custom" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_custom.gif" />
        </a>
    </a></p>
<p><strong>2. 限制字符的长度</strong></p>
<pre><code>DART
TextField(
    maxLength: 10,
    decoration: InputDecoration(
        labelText: &quot;最多10个字符&quot;,
    ),
)
</code></pre><p><code>maxLength</code>可以设置最长字符个数，如果超过这个限制再次输入不会有显示，并且在<code>TextField</code>在有右下角有当前字符个数的标记，此处是<code>10/10</code>。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_maxlength.png">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_maxlength.png">
            <img class="mx-auto" alt="2020_01_08_textfield_maxlength" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_maxlength.png" />
        </a>
    </a></p>
<p><strong>3. 限制行数</strong></p>
<pre><code>DART
TextField(
    maxLines: 2,
    decoration: InputDecoration(
        labelText: &quot;两行文字，超出的文字上翻&quot;,
    ),
)
</code></pre><p><code>maxLines</code>参数可以设置行数，比如这里设置的是2，默认只会显示两行，超过两行的部分只能通过上下滚动来显示。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_maxline.png">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_maxline.png">
            <img class="mx-auto" alt="2020_01_08_textfield_maxline" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_maxline.png" />
        </a>
    </a></p>
<blockquote>
<p>默认行数是1，超过的部分会往左缩进。</p>
</blockquote>
<p><strong>4. labelText设置颜色</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;labelText 有颜色&quot;,
        labelStyle: TextStyle(color: Colors.red),
    ),
)
</code></pre><p><code>InputDecoration</code>可以设置<code>labelStyle</code>参数，接收一个<code>TextStyle</code>对象，<code>TextStyle</code>这个我们比较熟悉，在之前讲解<code>Text</code>的文章中已经做了很多详解了。设置颜色之后，当点击<code>TextField</code>之后，文字会变小，颜色也是设置好的颜色。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_labelcolor.png">
        <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_labelcolor.png">
            <img class="mx-auto" alt="2020_01_08_textfield_labelcolor" src="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_labelcolor.png" />
        </a>
    </a></p>
<p><strong>5. 左侧Icon</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        icon: Icon(Icons.account_box),
        labelText: &quot;左侧有一个Icon&quot;,
    ),
)
</code></pre><p><code>icon</code>参数可以传入一个<code>Icon</code>对象用来显示在<code>TextField</code>的左侧，我们可以传入各式各样的<code>Icon</code>，满足我们更丰富的展示需求。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_lefticon.png">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_lefticon.png">
            <img class="mx-auto" alt="2020_01_08_textfield_lefticon" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_lefticon.png" />
        </a>
    </a></p>
<p><strong>6. 右侧Icon suffix和suffixIcon</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;右侧的两个Icon suffix 和 suffixIcon&quot;,
        suffix: Icon(Icons.account_box),
        suffixIcon: Icon(Icons.add),
    ),
)
</code></pre><p><code>suffixIcon</code>默认是显示在右侧的，<code>TextField</code>被点击之后会显示为被选中状态，<code>suffix</code>默认不显示，只有当选中<code>TextField</code>的时候才会显示出来。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_suffix.gif">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_suffix.gif">
            <img class="mx-auto" alt="2020_01_08_textfield_suffix" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_suffix.gif" />
        </a>
    </a></p>
<p><strong>7. 辅助提示</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;下方带有辅助提示的TextField&quot;,
        helperText: &quot;我是辅助提示&quot;,
        helperStyle: TextStyle(color: Colors.red),
    ),
)
</code></pre><p><code>helperText</code>可以帮助我们在<code>TextField</code>下面显示一行提示文字，同样我们也可以使用<code>helperStyle</code>来设置这段提示文字的样式。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_helpertext.jpeg">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_helpertext.jpeg">
            <img class="mx-auto" alt="2020_01_08_textfield_helpertext" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_helpertext.jpeg" />
        </a>
    </a></p>
<p><strong>8. 点击后的提示 hintText</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;点击后会有提示&quot;,
        hintText: &quot;我是点击后的提示&quot;,
        hintStyle: TextStyle(color: Colors.red),
    ),
)
</code></pre><p><code>hintText</code>参数可以帮助我们设置一个点击后显示的文字，只有点击之后才可以显示，同样我们可以通过<code>hintStyle</code>来设置<code>hintText</code>的样式。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_hittext.gif">
        <a data-fancybox="gallery" href="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_hittext.gif">
            <img class="mx-auto" alt="2020_01_08_textfield_hittext" src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/2020_01_08_textfield_hittext.gif" />
        </a>
    </a></p>
<p><strong>9. 不显示下划线</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;选中时没有下划线&quot;,
        focusedBorder: InputBorder.none,
    ),
)
</code></pre><p><code>focusedBorder</code>可以帮助我们设置下划线的样式，如果传入<code>InputBorder.none</code>则不会显示下划线。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusborder.gif">
        <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusborder.gif">
            <img class="mx-auto" alt="2020_01_08_textfield_focusborder" src="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusborder.gif" />
        </a>
    </a></p>
<p><strong>10. 自定义下划线样式</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;选中时的下划线颜色&quot;,
        focusedBorder: UnderlineInputBorder(
            borderSide: BorderSide(color: Colors.red),
        ),
    ),
)
</code></pre><p>我们可以给<code>focusedBorder</code>传入自定义的<code>UnderlineInputBorder</code>来自定义下划线的样式，这里我们简单做了个颜色的改变。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusborder_color.gif">
        <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusborder_color.gif">
            <img class="mx-auto" alt="2020_01_08_textfield_focusborder_color" src="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusborder_color.gif" />
        </a>
    </a></p>
<h3 id="textfield事件监听">TextField事件监听</h3>
<p>日常开发中，我们往往希望在三个地方TextField可以给我们回调。</p>
<ol>
<li>输入文字的过程中，这样方便我们在用户输入的时候就可以判断输入内容是否合法。</li>
<li>输入完成的时候，这个时候我们可以拿到输入内容做一些操作。</li>
<li>与键盘事件的配合，在必要的时候回收键盘。</li>
</ol>
<p><code>TextField</code>提供了三个回调方法</p>
<ul>
<li><code>onChanged</code> 此方法是在输入有变化的时候就会回调。参数是当前已经输入的内容</li>
<li><code>onSubmitted</code> 此方法是在我们输入完成后，点击键盘上回车的时候回调。参数是当前的已经输入的内容</li>
<li><code>onEditingComplete</code>此方法也是在点击键盘上回车的时候回调，它会在<code>onSubmitted</code>之前执行。不会带有参数</li>
</ul>
<p>需要注意是<code>onEditingComplete</code>回调方法没有携带参数。如果我们需要在<code>onEditingComplete</code>方法中获取到当前的输入值。
那就需要通过<code>TextEditingController</code>来捕捉输入内容，<code>TextField</code>接收一个<code>TextEditingController</code>对象来作为<code>controller</code>参数，
通过<code>TextEditingController</code>的属性<code>text</code>我们也可以获取到当前的输入内容。</p>
<p><strong>11. 事件回调</strong></p>
<pre><code>DART
TextEditingController controller = TextEditingController();
TextField(
    controller: controller,
    onChanged: (value) {
      print(&quot;onChanged value = &quot; + value);
    },
    onSubmitted: (value) {
      print(&quot;onSubmitted value = &quot; + value);
    },
    onEditingComplete: () {
      print(&quot;onEditingComplete value = &quot; + controller.text);
    },
    decoration: InputDecoration(
      labelText: &quot;输入事件监听&quot;,
    ),
)
</code></pre><p>可以看到通过<code>controller.text</code>可以获取到当前的输入内容。
<strong>12. 键盘回收</strong></p>
<pre><code>DART
TextField(
    decoration: InputDecoration(
        labelText: &quot;键盘回收&quot;,
        suffixIcon: IconButton(
            icon: Icon(Icons.close),
            onPressed: () {
                FocusScope.of(context).requestFocus(FocusNode());
            }),
        ),
    )
</code></pre><p><code>FocusNode</code>可以帮助我们进行键盘的回收，我只需要将<code>FocusScope</code>的<code>requestFocus</code>方法中传入一个新的<code>FocusNode</code>对象即刻。
如果在开发过程中，我们希望通过点击页面上某个按钮来结束<code>TextField</code>输入并且获取到当前的输入内容。使用<code>FocusNode</code>是很有效的。
<a href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusbnode.gif">
        <a data-fancybox="gallery" href="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusbnode.gif">
            <img class="mx-auto" alt="2020_01_08_textfield_focusbnode" src="https://cdn.jsdelivr.net/gh/johnson8888/blog_pages/images/2020_01_08_textfield_focusbnode.gif" />
        </a>
    </a></p>

        </div>

        
<div class="post-archive">
    <ul class="post-copyright">
        <li><strong>原文作者：</strong><a rel="author" href="https://luckly.work/">luckly</a></li>
        <li style="word-break:break-all"><strong>原文链接：</strong><a href="https://luckly.work/post/flutter/textfiled%E4%BD%BF%E7%94%A8/">https://luckly.work/post/flutter/textfiled%E4%BD%BF%E7%94%A8/</a></li>
        <li><strong>版权声明：</strong>本作品采用<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/">知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议</a>进行许可，非商业转载请注明出处（作者，原文链接），商业转载请联系作者获得授权。</li>
    </ul>
</div>
<br/>



        

<div class="post-archive">
    <h2>See Also</h2>
    <ul class="listing">
        
        <li><a href="/post/flutter/%E8%BD%BB%E6%9D%BE%E4%BD%BF%E7%94%A8flutter1/">Dart &amp; Flutter 开发技巧 1-7</a></li>
        
        <li><a href="/post/flutter/%E8%BD%BB%E6%9D%BE%E4%BD%BF%E7%94%A8flutter3/">Dart &amp; Flutter 开发技巧 15-21</a></li>
        
        <li><a href="/post/flutter/%E8%BD%BB%E6%9D%BE%E4%BD%BF%E7%94%A8flutter4/">Dart &amp; Flutter 开发技巧 22-28</a></li>
        
        <li><a href="/post/flutter/%E8%BD%BB%E6%9D%BE%E4%BD%BF%E7%94%A8flutter5/">Dart &amp; Flutter 开发技巧 29-35</a></li>
        
        <li><a href="/post/flutter/%E8%BD%BB%E6%9D%BE%E4%BD%BF%E7%94%A8flutter6/">Dart &amp; Flutter 开发技巧 36-42</a></li>
        
    </ul>
</div>


        <div class="post-meta meta-tags">
            
            <ul class="clearfix">
                
                <li><a href='/tags/flutter'>flutter</a></li>
                
            </ul>
            
        </div>
    </article>
    
    

    
    
    <div class="post bg-white">
      <script src="https://utteranc.es/client.js"
            repo= "https://github.com/ITmxs/repo"
            issue-term="pathname"
            theme="github-light"
            crossorigin="anonymous"
            async>
      </script>
    </div>
    
</div>

                    <footer id="footer">
    <div>
        &copy; 2021 <a href="https://luckly.work/">早起的年轻人 By luckly</a>
        
        | <a rel="nofollow" target="_blank" href="http://beian.miit.gov.cn/">粤ICP备2021号-1</a>
        
    </div>
    <br />
    <div>
        <div class="github-badge">
            <a href="https://juejin.cn/user/3843548384077192" target="_black" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">掘金</span></a>
        </div>
        <div class="github-badge">
            <a href="https://space.bilibili.com/480883651" target="_black"><span class="badge-subject">Design by</span><span class="badge-value bg-brightgreen">早起的年轻人</span></a>
        </div>
        <div class="github-badge">
            <a href="https://cloud.tencent.com/developer/user/6702670" target="_black"><span class="badge-subject">Theme</span><span class="badge-value bg-yellowgreen">云社区</span></a>
        </div>
    </div>
</footer>


    
    <script type="text/javascript">
        window.MathJax = {
            tex2jax: {
                inlineMath: [['$', '$']],
                processEscapes: true
                }
            };
    </script>
    <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script><script src="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>

<a id="rocket" href="#top"></a>
<script type="text/javascript" src='/js/totop.js?v=0.0.0' async=""></script>



    <script type="text/javascript" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" async></script>




    <script src='/js/douban.js'></script>
    <script src="/js/copy-to-clipboard.js"></script>

                </div>

                <div id="secondary">
    <section class="widget">
        <form id="search" action='https://luckly.work/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
      
      <input type="text" name="q" maxlength="20" placeholder="Search">
      <input type="hidden" name="sitesearch" value="https://luckly.work/">
      <button type="submit" class="submit icon-search"></button>
</form>
    </section>
    
    <section class="widget">
        <h3 class="widget-title">最近文章</h3>
<ul class="widget-list">
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E5%8F%98%E6%9B%B4%E7%AE%A1%E7%90%86/" title="变更管理">变更管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E7%9F%A5%E8%AF%86%E7%AE%A1%E7%90%86/" title="知识管理">知识管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E6%96%87%E6%A1%A3%E5%92%8C%E9%85%8D%E7%BD%AE%E7%AE%A1%E7%90%86/" title="文档和配置管理">文档和配置管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E5%90%88%E5%90%8C%E7%AE%A1%E7%90%86/" title="合同管理">合同管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E9%87%87%E8%B4%AD%E7%AE%A1%E7%90%86/" title="采购管理">采购管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E9%A3%8E%E9%99%A9%E7%AE%A1%E7%90%86/" title="风险管理">风险管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E6%B2%9F%E9%80%9A%E7%AE%A1%E7%90%86%E5%92%8C%E5%B9%B2%E7%B3%BB%E4%BA%BA%E7%AE%A1%E7%90%86/" title="沟通管理和干系人管理">沟通管理和干系人管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E4%BA%BA%E5%8A%9B%E8%B5%84%E6%BA%90%E7%AE%A1%E7%90%86/" title="人力资源管理">人力资源管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E8%B4%A8%E9%87%8F%E7%AE%A1%E7%90%86/" title="质量管理">质量管理</a>
    </li>
    
    <li>
        <a href="https://luckly.work/post/%E4%BF%A1%E6%81%AF/%E8%8C%83%E5%9B%B4%E7%AE%A1%E7%90%86/" title="范围管理">范围管理</a>
    </li>
    
</ul>
    </section>

    
<section class="widget">
    <h3 class="widget-title" style="color:red">福利派送</h3>
    <ul class="widget-list">
        
        <li>
            <a href="https://blog.csdn.net/qq_39132095?spm=1001.2101.3001.5343" title="我的CSDN" target="_blank" style="color:red">
                
                    <img src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
                
            </a>
        </li>
        
        <li>
            <a href="https://space.bilibili.com/480883651" title="我的哔哩哔哩" target="_blank" style="color:red">
                
                    <img src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
                
            </a>
        </li>
        
        <li>
            <a href="https://www.zhihu.com/people/yimi-yang-guang-96-65" title="我的知乎" target="_blank" style="color:red">
                
                    <img src="https://luckly007.oss-cn-beijing.aliyuncs.com/img/flutter.png">
                
            </a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title"><a href='/categories/'>分类</a></h3>
<ul class="widget-list">
    
    <li><a href="https://luckly.work/categories/Go/">Go (1)</a></li>
    
    <li><a href="https://luckly.work/categories/Mysql/">Mysql (1)</a></li>
    
    <li><a href="https://luckly.work/categories/Nginx/">Nginx (1)</a></li>
    
    <li><a href="https://luckly.work/categories/YouTube%E8%A7%86%E9%A2%91%E4%B8%8B%E8%BD%BD/">YouTube视频下载 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/android/">android (1)</a></li>
    
    <li><a href="https://luckly.work/categories/dart/">dart (15)</a></li>
    
    <li><a href="https://luckly.work/categories/Flutter/">Flutter (201)</a></li>
    
    <li><a href="https://luckly.work/categories/git/">git (3)</a></li>
    
    <li><a href="https://luckly.work/categories/Go/">Go (4)</a></li>
    
    <li><a href="https://luckly.work/categories/ios/">ios (1)</a></li>
    
    <li><a href="https://luckly.work/categories/linux/">linux (1)</a></li>
    
    <li><a href="https://luckly.work/categories/read/">读书笔记 (6)</a></li>
    
    <li><a href="https://luckly.work/categories/redis/">redis (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99/">个人资料 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%B9%A6%E5%8D%95/">书单 (8)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%B9%A6%E8%AF%84/">书评 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统管理师 (8)</a></li>
    
    <li><a href="https://luckly.work/categories/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统项目管理师 (14)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%8E%9F%E5%88%99/">原则 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%8E%9F%E7%94%9F%E9%80%9A%E8%AE%AF/">原生通讯 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%9F%BA%E7%A1%80/">基础 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%A4%8D%E5%88%A9%E6%95%88%E5%BA%94/">复利效应 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/">安装教程 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%B0%91%E6%9C%89%E4%BA%BA%E8%B5%B0%E7%9A%84%E8%B7%AF/">少有人走的路 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E5%BF%83%E8%AF%AD/">心语 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E6%8F%92%E4%BB%B6/">插件 (4)</a></li>
    
    <li><a href="https://luckly.work/categories/%E6%95%99%E5%AD%A6/">教学 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%8E%8B%E9%98%B3%E6%98%8E/">王阳明 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%94%B5%E5%AD%90%E4%B9%A6/">电子书 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%99%BB%E9%99%86%E8%A1%A8%E5%8D%95/">登陆表单 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%A8%BB%E7%9B%9B%E5%92%8C%E5%A4%AB/">稻盛和夫 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%A9%B7%E7%88%B8%E7%88%B8%E5%AF%8C%E7%88%B8%E7%88%B8/">穷爸爸富爸爸 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%B2%BE%E8%BF%9B/">精进 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E7%BC%96%E7%A8%8B/">编程 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B4%A2%E5%8A%A1%E8%87%AA%E7%94%B1%E4%B9%8B%E8%B7%AF/">财务自由之路 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B7%91%E6%AD%A5/">跑步 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B7%AF%E7%94%B1%E4%BC%A0%E5%8F%82/">路由传参 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%B7%AF%E7%BA%BF/">路线 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E8%BD%AF%E4%BB%B6%E5%AE%9E%E6%96%BD/">软件实施 (1)</a></li>
    
    <li><a href="https://luckly.work/categories/%E9%98%B3%E6%98%8E%E5%BF%83%E5%AD%A6/">阳明心学 (3)</a></li>
    
    <li><a href="https://luckly.work/categories/%E9%A1%B9%E7%9B%AE/">项目 (2)</a></li>
    
    <li><a href="https://luckly.work/categories/%E9%AD%85%E5%8A%9B/">魅力 (1)</a></li>
    
</ul>
    </section>

    <section class="widget">
        <h3 class="widget-title"><a href='/tags/'>标签</a></h3>
<div class="tagcloud">
    
    <a href="https://luckly.work/tags/go/">go</a>
    
    <a href="https://luckly.work/tags/Mysql/">Mysql</a>
    
    <a href="https://luckly.work/tags/Nginx/">Nginx</a>
    
    <a href="https://luckly.work/tags/YouTube%E8%A7%86%E9%A2%91%E4%B8%8B%E8%BD%BD/">YouTube视频下载</a>
    
    <a href="https://luckly.work/tags/android/">android</a>
    
    <a href="https://luckly.work/tags/dart/">dart</a>
    
    <a href="https://luckly.work/tags/flutter/">flutter</a>
    
    <a href="https://luckly.work/tags/git/">git</a>
    
    <a href="https://luckly.work/tags/go/">go</a>
    
    <a href="https://luckly.work/tags/ios/">ios</a>
    
    <a href="https://luckly.work/tags/linux/">linux</a>
    
    <a href="https://luckly.work/tags/redis/">redis</a>
    
    <a href="https://luckly.work/tags/%E4%B8%AA%E4%BA%BA%E8%B5%84%E6%96%99/">个人资料</a>
    
    <a href="https://luckly.work/tags/%E4%B9%A6%E5%8D%95/">书单</a>
    
    <a href="https://luckly.work/tags/%E4%B9%A6%E8%AF%84/">书评</a>
    
    <a href="https://luckly.work/tags/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统管理师</a>
    
    <a href="https://luckly.work/tags/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E9%A1%B9%E7%9B%AE%E7%AE%A1%E7%90%86%E5%B8%88/">信息系统项目管理师</a>
    
    <a href="https://luckly.work/tags/%E5%85%A5%E9%97%A8/">入门</a>
    
    <a href="https://luckly.work/tags/%E5%8E%9F%E5%88%99/">原则</a>
    
    <a href="https://luckly.work/tags/%E5%8E%9F%E7%94%9F%E9%80%9A%E8%AE%AF/">原生通讯</a>
    
    <a href="https://luckly.work/tags/%E5%9F%BA%E7%A1%80/">基础</a>
    
    <a href="https://luckly.work/tags/%E5%A4%8D%E5%88%A9%E6%95%88%E5%BA%94/">复利效应</a>
    
    <a href="https://luckly.work/tags/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/">安装教程</a>
    
    <a href="https://luckly.work/tags/%E5%B0%91%E6%9C%89%E4%BA%BA%E8%B5%B0%E7%9A%84%E8%B7%AF/">少有人走的路</a>
    
    <a href="https://luckly.work/tags/%E5%BF%83%E8%AF%AD/">心语</a>
    
    <a href="https://luckly.work/tags/%E6%8F%92%E4%BB%B6/">插件</a>
    
    <a href="https://luckly.work/tags/%E6%95%99%E5%AD%A6/">教学</a>
    
    <a href="https://luckly.work/tags/%E7%8E%8B%E9%98%B3%E6%98%8E/">王阳明</a>
    
    <a href="https://luckly.work/tags/%E7%94%B5%E5%AD%90%E4%B9%A6/">电子书</a>
    
    <a href="https://luckly.work/tags/%E7%99%BB%E9%99%86%E8%A1%A8%E5%8D%95/">登陆表单</a>
    
    <a href="https://luckly.work/tags/%E7%A8%BB%E7%9B%9B%E5%92%8C%E5%A4%AB/">稻盛和夫</a>
    
    <a href="https://luckly.work/tags/%E7%A9%B7%E7%88%B8%E7%88%B8%E5%AF%8C%E7%88%B8%E7%88%B8/">穷爸爸富爸爸</a>
    
    <a href="https://luckly.work/tags/%E7%B2%BE%E8%BF%9B/">精进</a>
    
    <a href="https://luckly.work/tags/%E7%BC%96%E7%A8%8B/">编程</a>
    
    <a href="https://luckly.work/tags/%E8%AF%97/">诗</a>
    
    <a href="https://luckly.work/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/">读书笔记</a>
    
    <a href="https://luckly.work/tags/%E8%B4%A2%E5%8A%A1%E8%87%AA%E7%94%B1%E4%B9%8B%E8%B7%AF/">财务自由之路</a>
    
    <a href="https://luckly.work/tags/%E8%B7%91%E6%AD%A5/">跑步</a>
    
    <a href="https://luckly.work/tags/%E8%B7%AF%E7%94%B1%E4%BC%A0%E5%8F%82/">路由传参</a>
    
    <a href="https://luckly.work/tags/%E8%B7%AF%E7%BA%BF/">路线</a>
    
    <a href="https://luckly.work/tags/%E8%BD%AF%E4%BB%B6%E5%AE%9E%E6%96%BD/">软件实施</a>
    
    <a href="https://luckly.work/tags/%E9%80%9A%E8%AE%AF%E5%BD%95/">通讯录</a>
    
    <a href="https://luckly.work/tags/%E9%98%B3%E6%98%8E%E5%BF%83%E5%AD%A6/">阳明心学</a>
    
    <a href="https://luckly.work/tags/%E9%A1%B9%E7%9B%AE/">项目</a>
    
    <a href="https://luckly.work/tags/%E9%AD%85%E5%8A%9B/">魅力</a>
    
</div>
    </section>

    
<section class="widget">
    <h3 class="widget-title">友情链接</h3>
    <ul class="widget-list">
        
        <li>
            <a target="_blank" href="https://www.flysnow.org/" title="飞雪无情的博客">飞雪无情的博客</a>
        </li>
        
        <li>
            <a target="_blank" href="http://yuedu.baidu.com/ebook/14a722970740be1e640e9a3e" title="Android Gradle权威指南">Android Gradle权威指南</a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title">其它</h3>
        <ul class="widget-list">
            <li><a href="https://luckly.work/index.xml">文章 RSS</a></li>
        </ul>
    </section>
</div>
            </div>
        </div>
    </div>
</body>

</html>